package com.platform.modules.wallet.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * 红包类型
 */
@Getter
public enum TransferTypeEnum {
    /**
     * 单发
     */
    SINGLE("SINGLE", "单发"),
    /**
     * 群发
     */
    GROUP("GROUP", "群发"),
    ;

    @EnumValue
    @JsonValue
    private String code;
    private String info;

    TransferTypeEnum(String code, String info) {
        this.code = code;
        this.info = info;
    }
}
